﻿using System.Collections.Generic;
using FileLibrary.Enums;
using FileLibrary.Models;

namespace GeneticSharpDemo.Models
{
    /// <summary>
    /// 工序
    /// 通过检修单计算，对应股道类型，是否需要检修，股道数量及股道对象
    /// </summary>
    public class Proc
    {
        public int Index { get; set; }
        public string Name { get; set; }
        public TrackTypeEnum TrackType { get; set; }
        public bool IsExist { get; set; }
        public List<Track> Tracks { get; set; } = new List<Track>();
        public override string ToString()
        {
            return $"{Name}";
        }
    }
}